package cn.itcast.itcaststore.domain;

public class PageBean {
    private int currentPage;
    private int totalPage;
    private int totalDate;
    private int orderByDate;
    private String category;

    @Override
    public String toString() {
        return "PageBean{" +
                "currentPage=" + currentPage +
                ", totalPage=" + totalPage +
                ", totalDate=" + totalDate +
                ", orderByDate=" + orderByDate +
                ", category='" + category + '\'' +
                '}';
    }

    public PageBean() {
    }

    public PageBean(int currentPage, int totalPage, int totalDate, int orderByDate, String category) {
        this.currentPage = currentPage;
        this.totalPage = totalPage;
        this.totalDate = totalDate;
        this.orderByDate = orderByDate;
        this.category = category;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getTotalDate() {
        return totalDate;
    }

    public void setTotalDate(int totalDate) {
        this.totalDate = totalDate;
    }

    public int getOrderByDate() {
        return orderByDate;
    }

    public void setOrderByDate(int orderByDate) {
        this.orderByDate = orderByDate;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
}
